#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Times;
using Cephei.QL;
using Cephei.QL.Termstructures.Volatility;
namespace Cephei.QL.Experimental.Callablebonds
{
     // <summary> 
	// ! Constant callable-bond volatility, no time-strike dependence
	// </summary>
    [Guid ("CB80ACD4-4A3D-4dbc-9371-DCE49FA557EA"),ComVisible(true)]
	public interface ICallableBondConstantVolatility : Cephei.QL.Experimental.Callablebonds.ICallableBondVolatilityStructure
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Times.IDayCounter DayCounter {get;}
        
		 Double MaxBondLength {get;}
        
		 Cephei.QL.Times.IPeriod MaxBondTenor {get;}
        
		 DateTime MaxDate {get;}
        
		 Double MaxStrike {get;}
        
		 Double MinStrike {get;}
    }

    // <summary> 
	// ! Constant callable-bond volatility, no time-strike dependence Factory
	// </summary>
   	[ComVisible(true)]
    public interface ICallableBondConstantVolatility_Factory // : Collection_Factory<ICallableBondConstantVolatility, ICell<ICallableBondConstantVolatility>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ICallableBondConstantVolatility Create (UInt32 settlementDays, Cephei.QL.Times.ICalendar calendar, Cephei.QL.IQuote volatility, Cephei.QL.Times.IDayCounter dayCounter);
        
	    ICallableBondConstantVolatility Create (UInt32 settlementDays, Cephei.QL.Times.ICalendar calendar, Double volatility, Cephei.QL.Times.IDayCounter dayCounter);
        
	    ICallableBondConstantVolatility Create (DateTime referenceDate, Cephei.QL.IQuote volatility, Cephei.QL.Times.IDayCounter dayCounter);
        
	    ICallableBondConstantVolatility Create (DateTime referenceDate, Double volatility, Cephei.QL.Times.IDayCounter dayCounter);
    }
}

